home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Garbo
/
Garbo.cdr
/
mac
/
source
/
tifreadr.sit
/
Tiff Window DEMO
/
globals.c
< prev
next >
Wrap
C/C++ Source or Header
|
1990-04-10
|
1KB
|
23 lines
#include "my color.h"
/* global variables, most of these are artifacts from the orginal "showoff" code */
MenuHandle myMenus[menuCount]; /*handles to the menus*/
Rect dragRect; /*rectangle used to mark boundaries for dragging window*/
Rect screenRect; /*to hold screenbits.bounds */
Rect txRect; /*rectangle for text in application window*/
Boolean extendedCH; /*true if user is Shift-clicking*/
Boolean doneFlag; /*true if user has chosen Quit Item*/
EventRecord myEvent; /*information about an event*/
CWindowRecord wRecord; /*information about the application window*/
CWindowPtr myWindow; /*pointer to wRecord*/
CWindowPeek myWinPeek; /*another pointer to wRecord*/
CWindowPtr whichWindow; /*window in which mouse button was pressed*/
Rect nextWRect ; /*portRect for next window to be opended*/
long nextWNum; /*number of next window (for title)*/
CGrafPtr savedPort; /*pointer to preserve GrafPort*/
Boolean menusOK; /*for disabling menu items*/
long scrapErr;
short scrCopyErr;